<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        body {
            background-color: #AAA;
        }
        .iphone {
            position: relative;
            width: 320px;
            height: 650px;
            margin: 100px auto;
            background-color: #2E2E2E;
            border: 10px solid #3B3B3B;
            box-sizing: border-box;
            border-radius: 55px;
            padding-top: 10px;
            box-shadow: 4px 6px 10px #000;
        }
        .iphone::before {
            content: ''; 
            position: absolute;
            top: 85px;
            left: -16px;
            width: 6px;
            height: 50px;
            background-color:#2E2E2E;
            border-top-left-radius: 5px;
            border-bottom-left-radius: 5px;
        }
        .iphone::after {
            content: '';
            position: absolute;
            top: -16px;
            left: 185px;
            width: 60px;
            height: 6px;
            background-color:#2E2E2E;
            border-top-left-radius: 5px;
            border-top-right-radius: 5px;
        }
        .listen {
            width: 5px;
            height: 5px;
            margin: 10px auto;
            border: 4px solid #4A4A4A; 
            background-color: #1a1a1a;
            border-radius: 50%;
        }
        .speaker {
            width: 60px;
            height: 5px;
            margin: 0 auto;
            border: 4px solid #4A4A4A;
            background-color: #1a1a1a;
            border-radius: 15px;
        }
        .content {
            width: 90%;
            height: 484px;
            margin: 20px auto;
            border: 4px solid #4A4A4A;
            box-sizing: border-box;
            text-align: center;
            line-height: 464px;
            font-size: 30px;
            color: #fff;
            background-image: linear-gradient(to left top, #000 25%,#666,#ccc 100%)
        }
        .home {
            width: 50px;
            height: 50px;
            margin: -10px auto;
            border-radius: 50%;
            background-color: #1A1A1A;
            box-sizing: border-box;
            padding-top: 12px;
        }
        .home::before {
            content: '';
            display: block;
            width: 22px;
            height: 22px;
            border: 2px solid #eee;
            border-radius: 5px;
            margin: 0 auto;
        }
    </style>
</head>
<body>
    <!-- 最大的盒子 -->
    <div class="iphone">
        <div class="listen"></div>
        <div class="speaker"></div>
        <div class="content">
             iphone xx
        </div>
        <div class="home"></div>
    </div>
</body>
</html>